package com.spring.demos.ioccontainer.pojo;

public class FixedDepositDetails {
    //存款账号
    private String accountNum;
    //用户名
    private String username;
    //卡内余额
    private float balanceAmount;
    //用户邮箱
    private String email;

    private String updatedTime;

    private String updatedBy;

    public FixedDepositDetails() {
    }

    public FixedDepositDetails(String accountNum, String name, float balanceAmount, String email,String updatedTime,String updatedBy) {
        this.accountNum = accountNum;
        this.username = name;
        this.balanceAmount = balanceAmount;
        this.email = email;
        this.updatedTime = updatedTime;
        this.updatedBy = updatedBy;
    }

    public String getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(String accountNum) {
        this.accountNum = accountNum;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public float getBalanceAmount() {
        return balanceAmount;
    }

    public void setBalanceAmount(float balanceAmount) {
        this.balanceAmount = balanceAmount;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    @Override
    public String toString() {
        return "FixedDepositDetails{" +
                "accountNum='" + accountNum + '\'' +
                ", username='" + username + '\'' +
                ", balanceAmount=" + balanceAmount +
                ", email='" + email + '\'' +
                ", updatedTime='" + updatedTime + '\'' +
                ", updatedBy='" + updatedBy + '\'' +
                '}';
    }
}
